import axios from 'axios';
import { loginreq, req } from './axiosFun';
// 登录接口 
export const login = (params) => { return loginreq("post", "/api/adminpublic/login", params) };
export const regist = (params) => { return loginreq("post", "/api/sellerpublic/regist", params) };
// 退出接口
export const loginout = () => { return req("post","/api/admin/logout",null) };
//获取验证码
export const codeGet = () => { return req("get","/api/sellerpublic/getVerifyCode?"+Math.random(),null) };
